<template>
  <div>
      <button @click="handler">{{btnName}}</button>
  </div>
</template>
<script>
export default {
  props:['btnName'],
  methods:{
    handler(){
    this.$emit('handlerclick')
    }
  }
}
</script>
<style lang="less" scoped>
button{
  width: 27.778vw;
  height:8.333vw;
  background: red;
  color:#fff;
  border:none;
  outline:none;
}

</style>